<template>
  <div class="rightTop2">
    <div class="headerMaintitle">
      <img class="topPic" src="../assets/rightBottom3.png" alt="" />
      <div class="headerText">标题1</div>
    </div>
    <div class="main">
      <div class="userItem" v-for="item in 12" :key="item">
        <div class="status">待 命</div>
        <div class="user">
          <div class="touxiang">
            <img src="../assets/touixiang.jpg" alt="" />
          </div>
          <div class="name">我是谁</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "RightTop2",
  props: {},
  components: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {
    select() {},
  },
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  updated() {},

  activated() {},
  deactivated() {},
  beforeDestroy() {},
  destroyed() {},
};
</script>
<style lang="less" scoped>
.rightTop2 {
  position: relative;
  .main {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    .userItem {
      width: calc(25% - 20px);
      height: 150px;
      background: rgba(128, 128, 128, 0.192);
      margin: 10px;
      border-radius: 30px;
      display: flex;
      align-items: center;
      .status {
        background: #009d54;
        width: 40px;
        height: 100%;
        border-radius: 30px 0 0 30px;
        font-size: 24px;
        font-weight: 500;
        color: #ffffff;
        line-height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        writing-mode: vertical-lr;
      }
      .user {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 20px;
      }
      .name {
        font-size: 24px;
        font-weight: 500;
        color: #ffffff;
        line-height: 20px;
      }
      .touxiang {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
        margin-bottom: 20px;
        img {
          width: 100%;
        }
      }
    }
  }
}
</style>
